package com.charlotte.study.gupaoapi.service;

import com.charlotte.study.gupaoapi.dto.UserDTO;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.List;

public interface UserService {

    @GetMapping("/users")
    List<UserDTO> users();

    @PostMapping("/insert")
    void insert(UserDTO userDTO);
}
